@main-color: #ff5277;

div,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
input,
textarea,
select,
i,
img,
video,
canvas,
svg,
audio {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

body {
  margin: 0;

  &::-webkit-scrollbar {
    width: 0;
  }
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clear {
  clear: both;
}

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.flex-around {
  display: flex;
  justify-content: space-around;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-align-items-center {
  align-items: center;
}

.pointer {
  cursor: pointer;
}

.no-drop {
  cursor: no-drop;
}

.ellipsis-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ellipsis-2 {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ellipsis-3 {
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
  }

  .bg {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
  }

  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f2f2f2;

    p {
      font-size: 14px;
      font-weight: bold;
      color: #333;
    }

    i {
      color: #909399;
      cursor: pointer;
    }
  }
}

each(range(80), {
  .font-@{value} {
    font-size: 0px + @value;
  }

  .font-@{value}-M {
    font-size: 0px + @value;
    font-weight: 500;
  }

  .font-@{value}-B {
    font-size: 0px + @value;
    font-weight: bold;
  }
})